package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class FMontoBuscar extends org.apache.struts.action.ActionForm {
    
    
    public FMontoBuscar() {
        super();
        monto = "";

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        monto = "";

    }

    public static FMontoBuscar clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        FMontoBuscar fFMontoBuscar = (FMontoBuscar) sess.getAttribute("FMontoBuscar");
        if (fFMontoBuscar == null) {
            fFMontoBuscar = new FMontoBuscar();
            sess.setAttribute("FMontoBuscar", fFMontoBuscar);
        } else {
            fFMontoBuscar.reset(mapping, request);
        }
        return fFMontoBuscar;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

/**
     * Holds value of property monto.
     */
    private String monto;

    /**
     * Getter for property monto.
     * @return Value of property monto.
     */
    public String getMonto() {
        return this.monto;
    }

    /**
     * Setter for property monto.
     * @param monto New value of property monto.
     */
    public void setMonto(String monto) {
        this.monto = monto;
    }




}